package com.hbx.constant;

/*
 * @Author:hbx
 * 
 * */
public enum RspEnum {
    // 共用模块
    PUBLIC_PARAMETER_ERROR(ResponseStateConstant.PARAMETER_ERROR,"参数传递异常"),
    AUTH_LOGIN_ERROR(ResponseStateConstant.OPERA_FAIL,"登录失败，用户名或密码错误"),
    AUTH_ACCESS_TOKEN_IS_NULL(2000,"非法访问,身份认证失败"),
    AUTH_NO_LOGIN(ResponseStateConstant.NO_LOGIN,"用户登录信息已过期"),
    FILE_UPLOAD_ERROR(2001,"文件上传失败"),
    JOB_IS_ULL(2002,"任务为空"),
    JOB_GET_LOCK_ERROR(2003,"定时任务获取锁资源失败"),
    SYS_ERROR(5001,"系统异常")
    ;
    Integer code;
    String msg;

    RspEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
